package com.agent.service;

import com.agent.entity.Dept;
import com.agent.page.EasyuiPage;

import java.util.List;
import java.util.Map;

/**
 * Created by hg on 2019/1/25.
 */
public interface IDeptService {
    Dept findOne(Map<String,String> paramMap);
    EasyuiPage<Dept> list(Integer page, Integer rows, Dept dept);

    List<Dept> listNoPage(Dept dept);
    int insert(List<Dept> depts);

    int deleteBySystem();

    int delete(String id);

}
